﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReplenishementGen.aspx.cs" Inherits="WMS6.Web.Inventory.ReplenishementGen" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ReplenishementGen</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/checkbox.js" type="text/javascript"></script>
    <script src="../Js/Verification.js" type="text/javascript"></script>
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }        
        
    </script>
</head>
<body>
    <form id="F5200" runat="server">
    <div>
    
            <asp:ScriptManager ID="ScriptManager1" runat="server" />
            <div id="div_top">
                <table>
                    <tr>
                        <td valign="bottom"><asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="生成补货页面"></asp:Label></td>
                        <td><asp:Button ID="btnGenerate" runat="server"  CssClass="button" Enabled="false" Text="生成"     /></td>
                        <td><asp:Button ID="btnPrint" runat="server" CssClass="button" Text="打印"  Enabled="false"  /></td>
                    </tr>
                </table>
            </div>
            
            <asp:UpdatePanel ID="up1" runat="server">
                <ContentTemplate>
                    <div>
                        <asp:Label ID="lblMsg" runat="server" CssClass="label_message" Visible="true"></asp:Label>
                    </div>
                    
                    
                    <div id="div_menu">
                        <div style="float: left; width: 8px;">
                            <div class="tabL" id="divL1"></div>
                        </div>
                        <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                            <asp:Label ID="one1" CssClass="hover" runat="server">常规</asp:Label></div>
                        <div style="float: left; margin-right: 2px;">
                            <div class="tabR" id="divR1"></div>
                        </div>
                        
                        <div style="float: left; width: 8px;">
                            <div class="tabL_1" id="divL2"></div>
                        </div>
                        <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2);" id="divM2">
                            <asp:Label ID="one2" CssClass="navigationlabel" runat="server">&nbsp;补货任务明细&nbsp;</asp:Label></div>
                        <div style="float: left; margin-right: 2px;">
                            <div class="tabR_1" id="divR2"></div>
                        </div>
                    </div>
                    
                    
                    <div id="div_content">
                         <div id="con_one_1" style="display:block;">
                            <table width="360px" style="display: block; margin-left: 10px; margin-top: 10px;">
                                <tr>
                                    <td width="180px"><asp:Label ID="lblStart" runat="server" CssClass="label" Text="原"></asp:Label></td>
                                    <td width="180px"><asp:Label ID="lblEnd" runat="server" CssClass="label" Text="至"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="lblStartOwnerID" runat="server" CssClass="label" Text="货主代码"></asp:Label></td>
                                    <td width="180px"><asp:Label ID="lblEndOwnerID" runat="server" CssClass="label" Text="货主代码"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:TextBox ID="txtStartOwnerID" runat="server" CssClass="textbox"></asp:TextBox></td>
                                    <td width="180px"><asp:TextBox ID="txtEndOwnerID" runat="server" CssClass="textbox"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="lblStartLoc" runat="server" CssClass="label" Text="储区"></asp:Label></td>
                                    <td width="180px"><asp:Label ID="lblEndLoc" runat="server" CssClass="label" Text="储区"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:TextBox ID="txtStartLoc" runat="server" CssClass="textbox"></asp:TextBox></td>
                                    <td width="180px"><asp:TextBox ID="txtEndLoc" runat="server" CssClass="textbox"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="lblStartSkuID" runat="server" CssClass="label" Text="货品代码"></asp:Label></td>
                                    <td width="180px"><asp:Label ID="lblEndSkuID" runat="server" CssClass="label" Text="货品代码"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:TextBox ID="txtStartSkuID" runat="server" CssClass="textbox"></asp:TextBox></td>
                                    <td width="180px"><asp:TextBox ID="txtEndSkuID" runat="server" CssClass="textbox"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="lblStartPriority" runat="server" CssClass="label" Text="优先级"></asp:Label></td>
                                    <td width="180px"><asp:Label ID="lblEndPriority" runat="server" CssClass="label" Text="优先级"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:TextBox ID="txtStartPriority" runat="server" CssClass="textbox"></asp:TextBox></td>
                                    <td width="180px"><asp:TextBox ID="txtEndPriority" runat="server" CssClass="textbox"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="Label1" runat="server" CssClass="label" Text="补货单位"></asp:Label></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:DropDownList ID="DropDownList1" runat="server" CssClass="mediumselectbox"></asp:DropDownList></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:Label ID="Label2" runat="server" CssClass="label" Text="补货任务数"></asp:Label></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td width="180px"><asp:TextBox ID="TextBox1" runat="server" CssClass="textbox"></asp:TextBox></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                </tr>
                            </table>
                         </div>
                         
                         <div id="con_one_2"  style="display:none;" > 
                            <table width="1580px" style="display: block; margin-left: 10px; margin-top: 10px;">
                                <tr style="height:10px;">
                                    <td></td>
                                    <td></td>
                                 </tr>
                                 <tr>
                                    <td> 
                                        <div>
                                          <table  style="display: block; margin-left: 10px; margin-top: 10px;">
                         <tr>
                             <td>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnAddDetail" runat="server" CssClass="button"  Text="<%$Resources:ButtonResource,btnAddDetail%>" 
                                            
                                                  />
                                        </td>
                                        <td>
                                            <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" 
                                                 Text="<%$Resources:ButtonResource,btnDeleteDetail%>"
                                             
                                                
                                               />
                                        </td>
                                          
                                    </tr>
                                </table>
                             </td>
                         </tr>  
                         <tr style="height:10px;">
                            <td></td>
                            <td></td>
                         </tr>
                         <tr>
                            <td>
                                <div>
                                
                                <table class="gridview" cellspacing="0" rules="all" border="1" id="gvReceipt" style="width:1580px;
                        border-collapse: collapse;">
                        <tr class="GridViewHeaderStyle">
                            <th scope="col">
                                序号
                            </th>
                            <th class="GridViewRowWidth_40" align="center" scope="col">
                                <input id="gvReceipt_ctl01_CheckBox1" type="checkbox" name="gvReceipt$ctl01$CheckBox1"
                                    onclick="selectAll(this,'gvReceipt');" />
                            </th>
                            <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$RECEIPT_ID')">任务号</a>
                            </th>
                          
                            <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">货主代码</a>
                            </th>
                              <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$OWNER_ID')">货品代码</a>
                            </th>
                               <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">来源货位</a>
                            </th>
                                <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">目标货位</a>
                            </th>
                            <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">LPN</a>
                            </th>
                              <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">每箱数量</a>
                            </th>
                             <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">数量(箱)</a>
                            </th>
                                    <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">数量(件)</a>
                            </th>
                            <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">批号</a>
                            </th>
                                <th scope="col">
                                <a href="javascript:__doPostBack('gvReceipt','Sort$EXTERNAL_RECEIPT_ID')">描述</a>
                            </th>
                             
                          
                            
                                
                                 
                        </tr>
                        <tr id="gvReceipt_ctl02" class="GridViewRowStyle" onmouseout="GridViewRowMouseout(this);"
                            onmouseover="GridViewRowMouseover(this);" id="gvReceipt_ctl02">
                            <td class="GridViewRowWidth_40">
                                1
                            </td>
                            <td class="GridViewRowWidth_40" align="center">
                                <input id="gvReceipt_ctl02_chbSelect" type="checkbox" name="gvReceipt$ctl02$chbSelect"
                                    onclick="GridViewCheckBoxClick('gvReceipt_ctl02');" />
                            </td>
                            <td class="GridViewRowWidth_100">
                                <a id="gvReceipt_ctl02_HyperLink1" class="hyperlink" href="#"
                                    target="_self">0000001011</a>
                            </td>
                          
                            <td class="GridViewRowWidth_100">
                          MIDEA
                            </td>
                              <td class="GridViewRowWidth_100">
                          EG823LC7-NSH1 
                            </td>
                                  <td class="GridViewRowWidth_100">
                           GBD01
                            </td>
                                  <td class="GridViewRowWidth_100">
                         P001
                            </td>
                                  <td class="GridViewRowWidth_100">
                        90950
                            </td>
                                  <td class="GridViewRowWidth_100">
                         10
                            </td>
                                  <td class="GridViewRowWidth_100">
                          5
                            </td>
                             <td class="GridViewRowWidth_100">
                        50
                            </td>
                                  <td class="GridViewRowWidth_100">
                          0000001131
                            </td>
                             <td class="GridViewRowWidth_100">
                          美的微波炉
                            </td>
                        </tr>
                        <tr id="Tr1" class="GridViewRowStyle" onmouseout="GridViewRowMouseout(this);"
                            onmouseover="GridViewRowMouseover(this);" id="gvReceipt_ctl02">
                            <td class="GridViewRowWidth_40">
                               2
                            </td>
                            <td class="GridViewRowWidth_40" align="center">
                                <input id="Checkbox1" type="checkbox" name="gvReceipt$ctl02$chbSelect"
                                    onclick="GridViewCheckBoxClick('gvReceipt_ctl02');" />
                            </td>
                            <td class="GridViewRowWidth_100">
                                <a id="A1" class="hyperlink" href="#"
                                    target="_self">0000001011</a>
                            </td>
                          
                            <td class="GridViewRowWidth_100">
                          MIDEA
                            </td>
                              <td class="GridViewRowWidth_100">
                          EG823LC7-NSH1 
                            </td>
                                  <td class="GridViewRowWidth_100">
                           GBD02
                            </td>
                                  <td class="GridViewRowWidth_100">
                         P002
                            </td>
                                  <td class="GridViewRowWidth_100">
                        90951
                            </td>
                                  <td class="GridViewRowWidth_100">
                         10
                            </td>
                                  <td class="GridViewRowWidth_100">
                       3
                            </td>
                             <td class="GridViewRowWidth_100">
                       30
                            </td>
                                  <td class="GridViewRowWidth_100">
                          0000001131
                            </td>
                             <td class="GridViewRowWidth_100">
                          美的微波炉
                            </td>
                        </tr>
                    </table>
                                    
                            </div>
                            </td>
                            <td></td>
                         </tr>
                              <tr style="height:30px;">
                            <td></td>
                            <td></td>
                         </tr>
                     </table>  
                                           <%-- <asp:GridView ID="gvPcMainTenanceDetail" runat="server" AllowSorting="true" 
                                                    AutoGenerateColumns="False"   AllowPaging="True" 
                                                    CssClass="gridview"  DataKeyNames="" Width="1000px"  >
                                                <FooterStyle CssClass="GridViewFooterStyle" />
                                                <RowStyle CssClass="GridViewRowStyle" />
                                                <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                <PagerStyle CssClass="GridViewPageStyle" />
                                                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                    <Columns>
                                                        <asp:BoundField HeaderText="序号" FooterText="序号"><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>
                                                        <asp:BoundField DataField="" HeaderText="任务号" FooterText="任务号" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="储区" FooterText="储区" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="货主代码" FooterText="货主代码" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="货品代码" FooterText="货品代码" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="描述" FooterText="描述" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="批号" FooterText="批号" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="来源货位" FooterText="来源货位" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="目标货位" FooterText="目标货位" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="LPN" FooterText="LPN" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="每箱数量" FooterText="每箱数量" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="数量(箱)" FooterText="数量(箱)" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                        <asp:BoundField DataField="" HeaderText="数量（件）" FooterText="数量（件）" SortExpression=""><ItemStyle CssClass="GridViewRowWidth_50" /></asp:BoundField>          
                                                    </Columns>
                                             </asp:GridView>--%>
                                        </div>
                                     </td>
                                 </tr>
                             </table>
                         </div>
                    </div>
                 </ContentTemplate>
             </asp:UpdatePanel>
    
    </div>
    </form>
</body>
</html>
